// $URL: http://mingw-lib.googlecode.com/svn/trunk/working/avcodec_to_widget_8/t_av_common.h $
// $Rev: 261 $
// $Author: akio.miyoshi $
// $Date:: 2010-07-23 07:14:30 +0000#$

#ifndef T_AV_COMMON_H
#define T_AV_COMMON_H

extern "C"
{
#ifndef UINT64_C
#define UINT64_C(c)     c ## ULL
#endif
#include "libavformat/avformat.h"
#include "libavutil/avstring.h"
#include "libavutil/pixdesc.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libavcodec/audioconvert.h"
#include "libavcodec/colorspace.h"
#include "libavcodec/opt.h"
#include "libavcodec/avfft.h"
#include "libavformat/metadata.h"
}

#ifdef main
#error "main is already defined; please include \"t_av_common.h\" first."
#endif
#include <SDL/SDL.h>
#ifdef __MINGW32__
#undef main
#endif

#endif // T_AV_COMMON_H
